package com.aliyun.messagemgt.dto.query;


import java.util.Arrays;

/**
 * @Author: zhangbixing 0027012430
 * @Date: 2019/3/19 10:45
 * @description:
 */
public class SensitiveLogQuery extends PageQuery {

    /**
     * 冲突开始时间
     */
    private String timeStart;

    /**
     * 冲突结束时间
     */
    private String timeEnd;


    /**
     * 数据源名称管理员
     */
    private String dsNameOrOwner;

    /**
     * 升降序
     */
    private String ascOrDesc;

    /**
     * 主键id数组
     */
    private String[] sensitiveLogIds;


    public String getTimeStart() {
        return timeStart;
    }

    public void setTimeStart(String timeStart) {
        this.timeStart = timeStart;
    }

    public String getTimeEnd() {
        return timeEnd;
    }

    public void setTimeEnd(String timeEnd) {
        this.timeEnd = timeEnd;
    }

    public String getDsNameOrOwner() {
        return dsNameOrOwner;
    }

    public void setDsNameOrOwner(String dsNameOrOwner) {
        this.dsNameOrOwner = dsNameOrOwner;
    }

    public String getAscOrDesc() {
        return ascOrDesc;
    }

    public void setAscOrDesc(String ascOrDesc) {
        this.ascOrDesc = ascOrDesc;
    }

    public String[] getSensitiveLogIds() {
        return sensitiveLogIds;
    }

    public SensitiveLogQuery setSensitiveLogIds(String[] sensitiveLogIds) {
        this.sensitiveLogIds = sensitiveLogIds;
        return this;
    }

    @Override
    public String toString() {
        return "SensitiveLogQuery{" +
                "timeStart='" + timeStart + '\'' +
                ", timeEnd='" + timeEnd + '\'' +
                ", dsNameOrOwner='" + dsNameOrOwner + '\'' +
                ", ascOrDesc='" + ascOrDesc + '\'' +
                ", sensitiveLogIds=" + Arrays.toString(sensitiveLogIds) +
                '}';
    }
}
